{
	_extends:{
		key:"BaseLineShape",
		path:"./paint_tool/lines/baseline.shape"
	},
	draw(stepData,ctx){
		let {step,state} = stepData
		ctx.save()
		ctx.merge(state)
		let fp = step[0]
		let sp = step[1]
		let pos = {
			x:fp.x,
			y:fp.y,
			a:Math.tan360(sp.y-fp.y,sp.x-fp.x)
		}
		this.line(pos,ctx)
		ctx.ghost&&this.drawATip(step,ctx)
		this.point(fp,ctx)
		this.point(sp,ctx)
		ctx.restore()
	}
}